AEGetInteractionAllowed
AEInteractionAllowed * level ; see below
interaction preferences for responding to an Apple event.
paramter that indicates the user interaction preferences for responding to an
Apple event.
The value returned is the interaction level set by a previous call to
explicitly set the interaction level.
The level parameter returns one of the following flags: kAEInteractWithSelf, kAEInteractWithLocal, or kAEInteractWithAll.
The kAEInteractWithSelf flag indicates that the server application may interact with the user in response to an Apple event only when the client
application and server application are the same-that is, only when the
application is sending the Apple event to itself.
The kAEInteractWithLocal flag indicates that the server application may interact with the user in response to an Apple event only if the client
application is on the same computer as the server application. This is the
function to explicitly set the interaction level.
The kAEInteractWithAll flag indicates that the server application may interact with the user in response to an Apple event sent from any client
Result codes
noErr (0) No error